package com.yuma.tingshu.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuma.tingshu.model.user.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuma.tingshu.model.user.UserSubscribe;

import java.util.List;
import java.util.Map;

public interface UserInfoService extends IService<UserInfo> {

    Map<String, Object> wxLogin(String code) throws Exception;

    Boolean isPaidAlbum(Long albumId);

    List<Long> getPaidTracksIdByAlbum(Long albumId);

    void updateVipExpireStat();

    Page<UserSubscribe> findUserSubscribePage(Integer page, Integer limit);
}
